package com.qj.travel.db.dao;

import com.qj.travel.db.model.VoteSettingModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Admin on 2016/10/17.
 */
public interface VoteSettingDao {

    int selectUserVoteNum();
    int selectIpVoteNum();
    int updateUserVoteNum(int userVoteNum);
    int updateIpVoteNum(int ipVoteNum);
    List<VoteSettingModel> getSetting();
    int updateVoteNum(@Param("userVoteNum") int userVoteNum, @Param("ipVoteNum") int ipVoteNum);

}
